package cn.tedu._05mvcboot03.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * (MvcUser)实体类
 *
 * @author makejava
 * @since 2024-05-22 15:19:49
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class MvcUser implements Serializable {
    private static final long serialVersionUID = 789551458078021090L;
/**
     * 用户编号
     */
    private Long id;
/**
     * 用户名
     */
    private String username;
/**
     * 密码
     */
    private String password;
/**
     * 昵称
     */
    private String nickname;
/**
     * 注册时间
     */
    private Date created;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

}

